package cn.fl.ref.fncprjbscinfo.service;

import java.util.List;



import cmm.mid.core.framework.dto.DataResultDTO;
import cmm.mid.core.framework.page.Pager;
import cn.cmm.base.framework.constant.BaseExceptionConstant;
import cn.cmm.base.framework.exception.BaseException;
import cn.cmm.base.framework.utils.BaseLogUtils;
import cn.cmm.base.framework.utils.CollectionUtils;
import cn.cmm.base.framework.utils.StringUtils;
import cn.fl.framework.base.context.CurrentThreadContext;
import cn.fl.ref.asspackinfo.vo.AssPackInfoVO;
import cn.fl.ref.asspackinfo.vo.FncPrjPayRltvInfoVO;
import cn.fl.ref.fncprjbscinfo.vo.FncPrjBscInfoVO;
import cn.fl.ref.fncprjdrawmon.vo.FncPrjDrawMonVO;
import cn.fl.ref.fncprjfstpyinfo.transform.FncPrjDetailVOTransform;
import cn.fl.ref.fncprjfstpyinfo.transform.FncPrjFstpyInfoVOTransform;
import cn.fl.ref.fncprjfstpyinfo.vo.FncPrjFstpyInfoVO;
import fl.flow.facade.flow.dto.FlowStartParamsDTO;
import fl.ref.fncprjbscinfo.condition.FncPrjBscInfoQueryCondition;

/**
 * @Description: 评分模板表 客户端服务层接口
 * 业务层方法名称前缀：
 * 新增：add*
 * 删除：remove*
 * 修改：modify*
 * 批量：batch*
 * 查询对象：select* get*
 * 查询集合：search*
 */
public interface IFncPrjBscInfoService {
	
	/**
	 * 获取唯一对象
	 * @param id 主键
	 * @return 对象DTO
	 */
	public FncPrjBscInfoVO selectById(Long id)throws BaseException;
	
	/**
	 * 新增
	 * @param entity
	 * @return
	 */
    public Long add(FncPrjBscInfoVO entity) throws BaseException;

    /**
     * 删除
     * @param id
     * @return
     */
    public boolean removeById(Long id)throws BaseException;

    /**
     * 修改
     * @param entity
     * @return
     */
    public boolean modify(FncPrjBscInfoVO entity)throws BaseException;

    /**
     * 分页查询所有
     * @param page
     * @return
     */
    public Pager searchListPage(Pager page)throws BaseException;
    
    /**
     * 条件查询所有
     * @param condition 
     * @return 集合
     */
    public List<FncPrjBscInfoVO> searchList(FncPrjBscInfoQueryCondition condition);
    

	public DataResultDTO addFlowStart(FlowStartParamsDTO flowStartParamsDTO) throws BaseException;
	
	public Long copyPack(AssPackInfoVO assPackInfo) throws BaseException ;
	
	public Long copyPayRltvInfo(FncPrjPayRltvInfoVO vo) throws BaseException;
	
	public boolean modifyfpy(List<FncPrjFstpyInfoVO> fncPrjFstpyInfoVOs) throws BaseException;
		
	/**
	 * 根据项目ID 查询方案、授信的流程信息
	 * @param id
	 * @return
	 * @throws BaseException
	 */
	public Pager searchFlowPageById(Pager page)throws BaseException;

	

	boolean modifyTranmess(List<FncPrjDrawMonVO> fncPrjDrawMonVOs, Long prjid) throws BaseException;
	/**
	 * 查询机构帐号与资产包配置
	 * @param page
	 * @return
	 * @throws BaseException
	 */
	public Pager searchInsUserListPage(Pager page)throws BaseException;
	/**
	    *   资产使用情况管理 列表
	 * @param page
	 * @return
	 * @throws BaseException
	 */
	public Pager searchAssUseListPage(Pager page)throws BaseException;
}
